/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Principal.java
 *
 * Created on 08/03/2011, 09:06:07
 */

package sisgraf.view;

/**
 *
 * @author jordan
 */
public class InclusaoPerfis extends javax.swing.JDialog {
    
    /** Creates new form Principal */
    public InclusaoPerfis(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPnlSuperior = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jPnlCentral = new javax.swing.JPanel();
        jPnlConteudo = new javax.swing.JPanel();
        rotuloCodigo = new javax.swing.JLabel();
        campoTextoCodigo = new javax.swing.JTextField();
        rotuloDescricao = new javax.swing.JLabel();
        campoTextoDescricao = new javax.swing.JTextField();
        rotuloCadastroBasico = new javax.swing.JLabel();
        rotuloVendedores = new javax.swing.JLabel();
        rotuloMaterias = new javax.swing.JLabel();
        rotuloClientes = new javax.swing.JLabel();
        rotuloOrcamentos = new javax.swing.JLabel();
        rotuloItesOrcamentos = new javax.swing.JLabel();
        rotuloPedido = new javax.swing.JLabel();
        rotuloControleAcesso = new javax.swing.JLabel();
        rotuloRelatorios = new javax.swing.JLabel();
        rotuloUsuario = new javax.swing.JLabel();
        rotuloPerfis = new javax.swing.JLabel();
        checkBoxMenuCadastroBasico = new javax.swing.JCheckBox();
        checkBoxPesquisaVendedores = new javax.swing.JCheckBox();
        checkBoxPesquisaMaterias = new javax.swing.JCheckBox();
        checkBoxPesquisaClientes = new javax.swing.JCheckBox();
        checkBoxPesquisaOrcamentos = new javax.swing.JCheckBox();
        checkBoxPesquisaItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxPesquisaItesPedido = new javax.swing.JCheckBox();
        checkBoxMenuControleAcesso = new javax.swing.JCheckBox();
        checkBoxMenuRalatorios = new javax.swing.JCheckBox();
        checkBoxPesquisaUsuario = new javax.swing.JCheckBox();
        checkBoxPesquisaPerfis = new javax.swing.JCheckBox();
        checkBoxInclusaoVendedores = new javax.swing.JCheckBox();
        checkBoxInclusaoMaterias = new javax.swing.JCheckBox();
        checkBoxInclusaoClientes = new javax.swing.JCheckBox();
        checkBoxInclusaoOrcamentos = new javax.swing.JCheckBox();
        checkBoxInclusaoItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxAlteracaoPedio = new javax.swing.JCheckBox();
        checkBoxFaturamentoRelatorios = new javax.swing.JCheckBox();
        checkBoxInclusaoUsuario = new javax.swing.JCheckBox();
        checkBoxInclusaoPerfis = new javax.swing.JCheckBox();
        checkBoxAlteracaoVendedores = new javax.swing.JCheckBox();
        checkBoxAlteracaoMaterias = new javax.swing.JCheckBox();
        checkBoxAlteracaoClientes = new javax.swing.JCheckBox();
        checkBoxAlteracaoOrcamentos = new javax.swing.JCheckBox();
        checkBoxAlteracaoItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxConsultaPedido = new javax.swing.JCheckBox();
        checkBoxExtratoRelatorios = new javax.swing.JCheckBox();
        checkBoxAlteracaoUsuario = new javax.swing.JCheckBox();
        checkBoxAlteracaoPerfis = new javax.swing.JCheckBox();
        checkBoxExclusaoVendedores = new javax.swing.JCheckBox();
        checkBoxExclusaoMaterias = new javax.swing.JCheckBox();
        checkBoxExclusaoClientes = new javax.swing.JCheckBox();
        checkBoxExclusaoOrcamentos = new javax.swing.JCheckBox();
        checkBoxExclusaoItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxConcluirPedido = new javax.swing.JCheckBox();
        checkBoxRankingRelatorios = new javax.swing.JCheckBox();
        checkBoxExclusaoUsuario = new javax.swing.JCheckBox();
        checkBoxConsultarOrcamentos = new javax.swing.JCheckBox();
        checkBoxAprovarItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxFaturarPedido = new javax.swing.JCheckBox();
        checkBoxPedidosRelatorios = new javax.swing.JCheckBox();
        checkBoxConsultarUsuario = new javax.swing.JCheckBox();
        checkBoxImprimirOrcamentos = new javax.swing.JCheckBox();
        checkBoxCancelarItesOrcamentos = new javax.swing.JCheckBox();
        checkBoxCancelarPedido = new javax.swing.JCheckBox();
        checkBoxClientesRelatorios = new javax.swing.JCheckBox();
        checkBoxSenhaPadraoUsuario = new javax.swing.JCheckBox();
        jPnlControle = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jPnlInferior = new javax.swing.JPanel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Inclui Perfis");
        addComponentListener(new java.awt.event.ComponentAdapter() {
            public void componentResized(java.awt.event.ComponentEvent evt) {
                formComponentResized(evt);
            }
        });

        jPnlSuperior.setBorder(new javax.swing.border.MatteBorder(null));

        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("SISTEMA DE ORÇAMENTOS PARA SERVIÇOS GRAFICOS");
        jLabel1.setMinimumSize(new java.awt.Dimension(0, 14));

        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel2.setText("Inclusão de Perfis");
        jLabel2.setMinimumSize(new java.awt.Dimension(0, 14));

        javax.swing.GroupLayout jPnlSuperiorLayout = new javax.swing.GroupLayout(jPnlSuperior);
        jPnlSuperior.setLayout(jPnlSuperiorLayout);
        jPnlSuperiorLayout.setHorizontalGroup(
            jPnlSuperiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 798, Short.MAX_VALUE)
            .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 798, Short.MAX_VALUE)
        );
        jPnlSuperiorLayout.setVerticalGroup(
            jPnlSuperiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPnlSuperiorLayout.createSequentialGroup()
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        jPnlCentral.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jPnlCentral.setMinimumSize(new java.awt.Dimension(100, 0));

        jPnlConteudo.setBorder(javax.swing.BorderFactory.createLineBorder(null));

        rotuloCodigo.setText("Código:");

        rotuloDescricao.setText("Descrição:");

        rotuloCadastroBasico.setText("Cadastro Básico");

        rotuloVendedores.setText("Vendedores");

        rotuloMaterias.setText("Materiais");

        rotuloClientes.setText("Clientes");

        rotuloOrcamentos.setText("Orçamentos");

        rotuloItesOrcamentos.setText("Itens Orçamento");

        rotuloPedido.setText("Pedido");

        rotuloControleAcesso.setText("Controle de Acesso");

        rotuloRelatorios.setText("Relatórios");

        rotuloUsuario.setText("Usuário");

        rotuloPerfis.setText("Perfis");

        checkBoxMenuCadastroBasico.setText("Menu");
        checkBoxMenuCadastroBasico.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                checkBoxMenuCadastroBasicoActionPerformed(evt);
            }
        });

        checkBoxPesquisaVendedores.setText("Pesquisa");

        checkBoxPesquisaMaterias.setText("Pesquisa");

        checkBoxPesquisaClientes.setText("Pesquisa");

        checkBoxPesquisaOrcamentos.setText("Pesquisa");

        checkBoxPesquisaItesOrcamentos.setText("Pesquisa");

        checkBoxPesquisaItesPedido.setText("Pesquisa");

        checkBoxMenuControleAcesso.setText("Menu");

        checkBoxMenuRalatorios.setText("Menu");

        checkBoxPesquisaUsuario.setText("Pesquisa");

        checkBoxPesquisaPerfis.setText("Pesquisa");

        checkBoxInclusaoVendedores.setText("Inclusão");

        checkBoxInclusaoMaterias.setText("Inclusão");

        checkBoxInclusaoClientes.setText("Inclusão");

        checkBoxInclusaoOrcamentos.setText("Inclusão");

        checkBoxInclusaoItesOrcamentos.setText("Inclusão");

        checkBoxAlteracaoPedio.setText("Alteração");

        checkBoxFaturamentoRelatorios.setText("Faturamento");

        checkBoxInclusaoUsuario.setText("Inclusão");

        checkBoxInclusaoPerfis.setText("Inclusão");

        checkBoxAlteracaoVendedores.setText("Alteração");

        checkBoxAlteracaoMaterias.setText("Alteração");

        checkBoxAlteracaoClientes.setText("Alteração");

        checkBoxAlteracaoOrcamentos.setText("Alteração");

        checkBoxAlteracaoItesOrcamentos.setText("Alteração");

        checkBoxConsultaPedido.setText("Consulta");

        checkBoxExtratoRelatorios.setText("Extrato");

        checkBoxAlteracaoUsuario.setText("Alteração");

        checkBoxAlteracaoPerfis.setText("Alteração");

        checkBoxExclusaoVendedores.setText("Exclusao");

        checkBoxExclusaoMaterias.setText("Exclusao");

        checkBoxExclusaoClientes.setText("Exclusao");

        checkBoxExclusaoOrcamentos.setText("Exclusao");

        checkBoxExclusaoItesOrcamentos.setText("Exclusao");

        checkBoxConcluirPedido.setText("Concluir");

        checkBoxRankingRelatorios.setText("Ranking");

        checkBoxExclusaoUsuario.setText("Exclusao");

        checkBoxConsultarOrcamentos.setText("Consultar");

        checkBoxAprovarItesOrcamentos.setText("Aprovar");

        checkBoxFaturarPedido.setText("Faturar");

        checkBoxPedidosRelatorios.setText("Pedidos");

        checkBoxConsultarUsuario.setText("Consultar");

        checkBoxImprimirOrcamentos.setText("Imprimir");

        checkBoxCancelarItesOrcamentos.setText("Cancelar");

        checkBoxCancelarPedido.setText("Cancelar");

        checkBoxClientesRelatorios.setText("Clientes");

        checkBoxSenhaPadraoUsuario.setText("Senha Padrão");

        javax.swing.GroupLayout jPnlConteudoLayout = new javax.swing.GroupLayout(jPnlConteudo);
        jPnlConteudo.setLayout(jPnlConteudoLayout);
        jPnlConteudoLayout.setHorizontalGroup(
            jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPnlConteudoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(rotuloControleAcesso)
                    .addComponent(rotuloRelatorios)
                    .addComponent(rotuloUsuario)
                    .addComponent(rotuloPerfis)
                    .addComponent(rotuloPedido)
                    .addComponent(rotuloItesOrcamentos)
                    .addComponent(rotuloOrcamentos)
                    .addComponent(rotuloClientes)
                    .addComponent(rotuloCadastroBasico)
                    .addComponent(rotuloVendedores)
                    .addComponent(rotuloMaterias))
                .addGap(20, 20, 20)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlConteudoLayout.createSequentialGroup()
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(checkBoxPesquisaVendedores)
                            .addComponent(checkBoxPesquisaMaterias)
                            .addComponent(checkBoxPesquisaClientes)
                            .addComponent(checkBoxPesquisaOrcamentos)
                            .addComponent(checkBoxPesquisaItesOrcamentos)
                            .addComponent(checkBoxPesquisaItesPedido)
                            .addComponent(checkBoxMenuControleAcesso)
                            .addComponent(checkBoxMenuRalatorios)
                            .addComponent(checkBoxPesquisaUsuario)
                            .addComponent(checkBoxPesquisaPerfis))
                        .addGap(18, 18, 18)
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(checkBoxInclusaoVendedores)
                            .addComponent(checkBoxInclusaoMaterias)
                            .addComponent(checkBoxInclusaoClientes)
                            .addComponent(checkBoxInclusaoOrcamentos)
                            .addComponent(checkBoxInclusaoItesOrcamentos)
                            .addComponent(checkBoxAlteracaoPedio)
                            .addComponent(checkBoxFaturamentoRelatorios)
                            .addComponent(checkBoxInclusaoUsuario)
                            .addComponent(checkBoxInclusaoPerfis))
                        .addGap(35, 35, 35)
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(checkBoxAlteracaoUsuario)
                            .addComponent(checkBoxExtratoRelatorios)
                            .addComponent(checkBoxAlteracaoPerfis)
                            .addComponent(checkBoxConsultaPedido)
                            .addComponent(checkBoxAlteracaoItesOrcamentos)
                            .addComponent(checkBoxAlteracaoOrcamentos)
                            .addComponent(checkBoxAlteracaoClientes)
                            .addComponent(checkBoxAlteracaoMaterias)
                            .addComponent(checkBoxAlteracaoVendedores))
                        .addGap(45, 45, 45)
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPnlConteudoLayout.createSequentialGroup()
                                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(checkBoxRankingRelatorios)
                                    .addComponent(checkBoxExclusaoUsuario)
                                    .addComponent(checkBoxExclusaoOrcamentos)
                                    .addComponent(checkBoxExclusaoItesOrcamentos)
                                    .addComponent(checkBoxConcluirPedido))
                                .addGap(27, 27, 27)
                                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(checkBoxConsultarUsuario)
                                    .addComponent(checkBoxPedidosRelatorios)
                                    .addComponent(checkBoxConsultarOrcamentos)
                                    .addComponent(checkBoxAprovarItesOrcamentos)
                                    .addComponent(checkBoxFaturarPedido))
                                .addGap(30, 30, 30)
                                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(checkBoxCancelarPedido)
                                    .addComponent(checkBoxCancelarItesOrcamentos)
                                    .addComponent(checkBoxImprimirOrcamentos)
                                    .addComponent(checkBoxSenhaPadraoUsuario)
                                    .addComponent(checkBoxClientesRelatorios)))
                            .addComponent(checkBoxExclusaoVendedores)
                            .addComponent(checkBoxExclusaoMaterias)
                            .addComponent(checkBoxExclusaoClientes))
                        .addGap(84, 84, 84))
                    .addGroup(jPnlConteudoLayout.createSequentialGroup()
                        .addComponent(checkBoxMenuCadastroBasico)
                        .addContainerGap(620, Short.MAX_VALUE))))
            .addGroup(jPnlConteudoLayout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addComponent(rotuloCodigo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(campoTextoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(rotuloDescricao)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(campoTextoDescricao, javax.swing.GroupLayout.DEFAULT_SIZE, 491, Short.MAX_VALUE)
                .addGap(114, 114, 114))
        );
        jPnlConteudoLayout.setVerticalGroup(
            jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlConteudoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(rotuloCodigo)
                    .addComponent(campoTextoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rotuloDescricao)
                    .addComponent(campoTextoDescricao, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 30, Short.MAX_VALUE)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxMenuCadastroBasico)
                    .addComponent(rotuloCadastroBasico))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxPesquisaVendedores)
                    .addComponent(checkBoxInclusaoVendedores, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxAlteracaoVendedores, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rotuloVendedores, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxExclusaoVendedores))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxPesquisaMaterias)
                    .addComponent(checkBoxInclusaoMaterias, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxAlteracaoMaterias, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rotuloMaterias)
                    .addComponent(checkBoxExclusaoMaterias))
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPnlConteudoLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(checkBoxPesquisaClientes)
                            .addComponent(checkBoxInclusaoClientes, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(checkBoxAlteracaoClientes, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(checkBoxExclusaoClientes))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlConteudoLayout.createSequentialGroup()
                        .addComponent(rotuloClientes)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxPesquisaOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxInclusaoOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxAlteracaoOrcamentos)
                    .addComponent(rotuloOrcamentos)
                    .addComponent(checkBoxExclusaoOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxConsultarOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxImprimirOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxPesquisaItesOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxInclusaoItesOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxAlteracaoItesOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 18, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rotuloItesOrcamentos)
                    .addComponent(checkBoxExclusaoItesOrcamentos)
                    .addComponent(checkBoxAprovarItesOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxCancelarItesOrcamentos, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxPesquisaItesPedido, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxAlteracaoPedio)
                    .addComponent(checkBoxConsultaPedido, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(rotuloPedido)
                    .addComponent(checkBoxConcluirPedido)
                    .addComponent(checkBoxFaturarPedido, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(checkBoxCancelarPedido, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxMenuControleAcesso)
                    .addComponent(rotuloControleAcesso))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(checkBoxMenuRalatorios)
                    .addComponent(rotuloRelatorios)
                    .addComponent(checkBoxFaturamentoRelatorios)
                    .addComponent(checkBoxRankingRelatorios)
                    .addComponent(checkBoxPedidosRelatorios)
                    .addComponent(checkBoxClientesRelatorios)
                    .addComponent(checkBoxExtratoRelatorios))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPnlConteudoLayout.createSequentialGroup()
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(checkBoxPesquisaUsuario)
                            .addComponent(rotuloUsuario)
                            .addComponent(checkBoxInclusaoUsuario))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(checkBoxPesquisaPerfis)
                            .addComponent(rotuloPerfis)
                            .addComponent(checkBoxInclusaoPerfis)))
                    .addGroup(jPnlConteudoLayout.createSequentialGroup()
                        .addGroup(jPnlConteudoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(checkBoxExclusaoUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(checkBoxConsultarUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(checkBoxSenhaPadraoUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(checkBoxAlteracaoUsuario))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(checkBoxAlteracaoPerfis)))
                .addGap(30, 30, 30))
        );

        jPnlControle.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        jButton1.setText("Confirmar");

        jButton2.setText("Finalizar");

        javax.swing.GroupLayout jPnlControleLayout = new javax.swing.GroupLayout(jPnlControle);
        jPnlControle.setLayout(jPnlControleLayout);
        jPnlControleLayout.setHorizontalGroup(
            jPnlControleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlControleLayout.createSequentialGroup()
                .addContainerGap(624, Short.MAX_VALUE)
                .addComponent(jButton1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButton2)
                .addContainerGap())
        );
        jPnlControleLayout.setVerticalGroup(
            jPnlControleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlControleLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPnlControleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2)
                    .addComponent(jButton1))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPnlCentralLayout = new javax.swing.GroupLayout(jPnlCentral);
        jPnlCentral.setLayout(jPnlCentralLayout);
        jPnlCentralLayout.setHorizontalGroup(
            jPnlCentralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPnlControle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jPnlConteudo, javax.swing.GroupLayout.DEFAULT_SIZE, 796, Short.MAX_VALUE)
        );
        jPnlCentralLayout.setVerticalGroup(
            jPnlCentralLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlCentralLayout.createSequentialGroup()
                .addComponent(jPnlConteudo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPnlControle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        jPnlInferior.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        jLabel3.setText("Gráfica Modêlo");

        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel4.setText("Grupo de Estudo PMA Anhanguera");

        javax.swing.GroupLayout jPnlInferiorLayout = new javax.swing.GroupLayout(jPnlInferior);
        jPnlInferior.setLayout(jPnlInferiorLayout);
        jPnlInferiorLayout.setHorizontalGroup(
            jPnlInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPnlInferiorLayout.createSequentialGroup()
                .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 480, Short.MAX_VALUE)
                .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 206, javax.swing.GroupLayout.PREFERRED_SIZE))
        );
        jPnlInferiorLayout.setVerticalGroup(
            jPnlInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPnlInferiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(jLabel3))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPnlSuperior, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jPnlCentral, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jPnlInferior, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPnlSuperior, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPnlCentral, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPnlInferior, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    private void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized
        // TODO add your handling code here:
        int dif = this.getHeight()-jPnlSuperior.getHeight()-jPnlCentral.getHeight()-jPnlInferior.getHeight()-6;
        jPnlCentral.setSize(this.getWidth(),this.getHeight()-jPnlSuperior.getHeight()-jPnlInferior.getHeight()-dif);
        jPnlConteudo.setSize(jPnlCentral.getWidth(),jPnlCentral.getHeight()-jPnlControle.getHeight());
        jPnlControle.setSize(jPnlCentral.getWidth(), jPnlControle.getHeight());
        jPnlControle.setLocation(0, jPnlConteudo.getHeight());
    }//GEN-LAST:event_formComponentResized

    private void checkBoxMenuCadastroBasicoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_checkBoxMenuCadastroBasicoActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_checkBoxMenuCadastroBasicoActionPerformed
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                Principal dialog = new Principal(new javax.swing.JFrame(), true);
                dialog.addWindowListener(new java.awt.event.WindowAdapter() {
                    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
                    }
                });
                dialog.setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField campoTextoCodigo;
    private javax.swing.JTextField campoTextoDescricao;
    private javax.swing.JCheckBox checkBoxAlteracaoClientes;
    private javax.swing.JCheckBox checkBoxAlteracaoItesOrcamentos;
    private javax.swing.JCheckBox checkBoxAlteracaoMaterias;
    private javax.swing.JCheckBox checkBoxAlteracaoOrcamentos;
    private javax.swing.JCheckBox checkBoxAlteracaoPedio;
    private javax.swing.JCheckBox checkBoxAlteracaoPerfis;
    private javax.swing.JCheckBox checkBoxAlteracaoUsuario;
    private javax.swing.JCheckBox checkBoxAlteracaoVendedores;
    private javax.swing.JCheckBox checkBoxAprovarItesOrcamentos;
    private javax.swing.JCheckBox checkBoxCancelarItesOrcamentos;
    private javax.swing.JCheckBox checkBoxCancelarPedido;
    private javax.swing.JCheckBox checkBoxClientesRelatorios;
    private javax.swing.JCheckBox checkBoxConcluirPedido;
    private javax.swing.JCheckBox checkBoxConsultaPedido;
    private javax.swing.JCheckBox checkBoxConsultarOrcamentos;
    private javax.swing.JCheckBox checkBoxConsultarUsuario;
    private javax.swing.JCheckBox checkBoxExclusaoClientes;
    private javax.swing.JCheckBox checkBoxExclusaoItesOrcamentos;
    private javax.swing.JCheckBox checkBoxExclusaoMaterias;
    private javax.swing.JCheckBox checkBoxExclusaoOrcamentos;
    private javax.swing.JCheckBox checkBoxExclusaoUsuario;
    private javax.swing.JCheckBox checkBoxExclusaoVendedores;
    private javax.swing.JCheckBox checkBoxExtratoRelatorios;
    private javax.swing.JCheckBox checkBoxFaturamentoRelatorios;
    private javax.swing.JCheckBox checkBoxFaturarPedido;
    private javax.swing.JCheckBox checkBoxImprimirOrcamentos;
    private javax.swing.JCheckBox checkBoxInclusaoClientes;
    private javax.swing.JCheckBox checkBoxInclusaoItesOrcamentos;
    private javax.swing.JCheckBox checkBoxInclusaoMaterias;
    private javax.swing.JCheckBox checkBoxInclusaoOrcamentos;
    private javax.swing.JCheckBox checkBoxInclusaoPerfis;
    private javax.swing.JCheckBox checkBoxInclusaoUsuario;
    private javax.swing.JCheckBox checkBoxInclusaoVendedores;
    private javax.swing.JCheckBox checkBoxMenuCadastroBasico;
    private javax.swing.JCheckBox checkBoxMenuControleAcesso;
    private javax.swing.JCheckBox checkBoxMenuRalatorios;
    private javax.swing.JCheckBox checkBoxPedidosRelatorios;
    private javax.swing.JCheckBox checkBoxPesquisaClientes;
    private javax.swing.JCheckBox checkBoxPesquisaItesOrcamentos;
    private javax.swing.JCheckBox checkBoxPesquisaItesPedido;
    private javax.swing.JCheckBox checkBoxPesquisaMaterias;
    private javax.swing.JCheckBox checkBoxPesquisaOrcamentos;
    private javax.swing.JCheckBox checkBoxPesquisaPerfis;
    private javax.swing.JCheckBox checkBoxPesquisaUsuario;
    private javax.swing.JCheckBox checkBoxPesquisaVendedores;
    private javax.swing.JCheckBox checkBoxRankingRelatorios;
    private javax.swing.JCheckBox checkBoxSenhaPadraoUsuario;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPnlCentral;
    private javax.swing.JPanel jPnlConteudo;
    private javax.swing.JPanel jPnlControle;
    private javax.swing.JPanel jPnlInferior;
    private javax.swing.JPanel jPnlSuperior;
    private javax.swing.JLabel rotuloCadastroBasico;
    private javax.swing.JLabel rotuloClientes;
    private javax.swing.JLabel rotuloCodigo;
    private javax.swing.JLabel rotuloControleAcesso;
    private javax.swing.JLabel rotuloDescricao;
    private javax.swing.JLabel rotuloItesOrcamentos;
    private javax.swing.JLabel rotuloMaterias;
    private javax.swing.JLabel rotuloOrcamentos;
    private javax.swing.JLabel rotuloPedido;
    private javax.swing.JLabel rotuloPerfis;
    private javax.swing.JLabel rotuloRelatorios;
    private javax.swing.JLabel rotuloUsuario;
    private javax.swing.JLabel rotuloVendedores;
    // End of variables declaration//GEN-END:variables
    
}
